#pragma once
#include <string>
class XMsgClient
{
public:
    //启动测试线程，发送数据给服务端（延时启动）
    void Start();

    void set_server_port(int port) { this->server_port_ = port; }
    void set_server_ip(std::string ip) { this->server_ip_ = ip; }

private:
    //线程主函数
    void Main();
    int server_port_ = 0;
    std::string server_ip_;
};

